package com.zzyl.nursing.mapper;
/*
 *TODO
 *@Autor Adam
 *@Date  2025/7/31  21:13
 *
 */

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zzyl.nursing.domain.Reservation;
import com.zzyl.nursing.vo.CountTimeVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.time.LocalDateTime;
import java.util.List;

@Mapper
public interface ReservationMapper extends BaseMapper<Reservation> {
    List<CountTimeVo> CountByTime(@Param("startTime") LocalDateTime startTime,@Param("endTime") LocalDateTime endTime);
}
